<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta charset="utf-8">
    <title>日活用户</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <!-- page specific plugin styles -->
    <script src="__PUBLIC__/admin/js/jquery.min.js"></script>
    <script src="__PUBLIC__/admin/js/lodash.min.js"></script>
    <script src="__PUBLIC__/admin/js/moment.min.js"></script>
    <script src="__PUBLIC__/admin/js/zh-cn.js"></script>
    <script src="__PUBLIC__/admin/js/numeral.min.js"></script>
    <script src="__PUBLIC__/admin/js/toastr.min.js"></script>
    <script src="__PUBLIC__/admin/js/cookies.js"></script>
    <script src="__PUBLIC__/admin/js/knockout-min.js"></script>
    <script src="__PUBLIC__/admin/js/knockout.mapping.min.js"></script>
    <script src="__PUBLIC__/admin/js/bootstrap-datetimepicker.min.js"></script>
    <script src="__PUBLIC__/admin/js/jquery.validate.min.js"></script>
    <script src="__PUBLIC__/admin/js/jquery.validate.unobtrusive.min.js"></script>
    <script src="__PUBLIC__/admin/js/clipboard.min.js"></script>
    <script src="__PUBLIC__/admin/js/select2.min.js"></script>
    <script src="__PUBLIC__/admin/js/admin.js"></script>
    <script>moment.locale('zh-cn');
    toastr.options.positionClass = 'toast-bottom-right';</script>
    <!-- inline styles related to this page -->
    <!-- ace settings handler -->
    <script src="__PUBLIC__/admin/js/ace-extra.min.js"></script>
    <!-- <script>
    var __BASEURL = "http://novel.818tu.com/";
    </script> -->
    <link media="all" href="__PUBLIC__/admin/css/index02.css" type="text/css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/glyphicons-halflings-regular.css"/>
</head>

<body class="no-skin">
<!-- #section:basics/navbar.layout -->
<include file="./Public/gong/title.html"/>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>
    <div id="sidebar" class="sidebar responsive">
        <script type="text/javascript">
            try {
                ace.settings.check('sidebar', 'fixed')
            } catch (e) {
            }
        </script>
        <include file="./Public/gong/list.html"/>
        <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
            <i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left"
               data-icon2="ace-icon fa fa-angle-double-right"></i>
        </div>
        <script type="text/javascript">
            try {
                ace.settings.check('sidebar', 'collapsed')
            } catch (e) {
            }
        </script>
    </div>
    <!-- /section:basics/sidebar -->
    <div class="main-content">
        <div class="breadcrumbs" id="breadcrumbs">
            <script type="text/javascript">
                try {
                    ace.settings.check('breadcrumbs', 'fixed')
                } catch (e) {
                }
            </script>
            <ul class="breadcrumb">
                <li>
                    <i class="ace-icon fa fa-home home-icon"></i>
                    <a href="__APP__/Admin/Index/index.html">Home</a></li>
                <li class="active">日活用户</li>
            </ul>
            <!-- /.breadcrumb -->
            <!-- /section:basics/content.searchbox --></div>
        <!-- /section:basics/content.breadcrumbs -->
        <div class="page-content">
            <div class="page-content-area">
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <!--/span-->
                        <!-- left menu ends -->
                        <div style="margin-bottom: 10px;">
                            <ul class="nav nav-tabs">
                                <li class="">
                                    <a href="__URL__/chanrge_static.html">订单统计</a></li>
                                <li class="">
                                    <a href="__URL__/people_static.html">用户统计</a></li>
                                <li class="active">
                                    <a href="__URL__/people_day_active.html">日活用户</a></li>
                                <li style="display: none;" class="">
                                    <a href="#">小说统计</a></li>
                            </ul>
                        </div>
                        <script>var uid = null;</script>

                        <div class="panel panel-default" id="member-daily-stats-panel">
                            <div style="text-align: left; margin-top: 6px;margin-bottom: 6px">
                                今日活跃：{$count}
                            </div>
                            <table class="table table-bordered table-striped" data-bind="visible: !loading()" style="">
                                <thead>
                                <tr>
                                    <th>日期</th>
                                    <th class="text-right">id</th>
                                    <th class="text-right">昵称</th>
                                    <th class="text-right">手机号</th>
                                    <th class="text-right">性别</th>
                                    <!--<th class="text-right">ip地址</th>-->
                                </tr>
                                </thead>
                                <tbody data-bind="foreach: stats">
                                <volist name="allLoginLog" id="loginLog">
                                    <tr>
                                        <td>
                                            <span data-bind="date: date">{$loginLog.time|date="Y-m-d H:i:s",###}</span>
                                        </td>
                                        <td>
                                            <span data-bind="date: date">{$loginLog.uid}</span></td>
                                        <td class="text-right">
                                            <a href="/Admin/User/userdetails?id={$loginLog.uid}"<span data-bind="text: new_member_count">{$loginLog.nickname}</span></a></td>
                                        <td class="text-right">
                                            <span data-bind="text: subscribed_count">{$loginLog.mobile}</span></td>
                                        <td class="text-right">
                                            <span data-bind="text: paid_count">
                                                <if condition="$loginLog.sex eq 1">男
                                                    <elseif condition="$loginLog.sex eq 2"/>女
                                                </if>
                                            </span></td>
<!--                                        <td class="text-right">
                                            <span data-bind="text: male_count">{$loginLog.client_ip|GetIpLookup}</span>
                                        </td>-->
                                    </tr>
                                </volist>
                                </tbody>
                            </table>
                        </div>
                        <!-- PAGE CONTENT ENDS --></div>
                    <!-- /.col --></div>
                <!-- /.row --></div>
            <!-- /.page-content-area --></div>
        <!-- /.page-content --></div>
    <!-- /.main-content --></div>
<!-- /.main-container -->
<script src="__PUBLIC__/admin/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/admin/js/jquery.webui-popover.min.js"></script>
<script src="__PUBLIC__/admin/js/jquery.ui.widget.min.js"></script>
<script src="__PUBLIC__/admin/js/jquery.fileupload.min.js"></script>
<!-- page specific plugin scripts -->
<!-- ace scripts -->
<script src="__PUBLIC__/admin/js/ace-elements.min.js"></script>
<script src="__PUBLIC__/admin/js/ace.min.js"></script>
<!-- inline scripts related to this page -->
<!-- the following scripts are used in demo only for onpage help and you don't need them -->
<!-- <script type="text/javascript"> ace.vars['base'] = 'http://novel.818tu.com/static'; </script> -->
<script src="__PUBLIC__/admin/js/elements.onpage-help.js"></script>
<script src="__PUBLIC__/admin/js/ace.onpage-help.js"></script>
</body>

</html>